#include <stdio.h>
#include <pthread.h>

void* fun(void* );

int main(int argc,char* argv[]){
  pthread_t tid;
  pthread_create(&tid,NULL,fun,(void*)"123");

  pthread_exit(NULL);
}

void* fun(void* argv){
  printf("argv is %s\n",(char*)argv);

  pthread_exit(NULL);
}
